Method for implementing and executing communication center routing strategies represented in extensible markup language

ABSTRACT

A method is provided for supplementing existing interaction routines in a contact center with added capability including acts for (a) creating at least one rule having at least one rule attribute; (b) creating one or more processes, the processes integral to the rule; (c) defining the at least one rule and integral processes as a strategy; and (d) linking the strategy to the interaction routine, the link serving to cause execution of the strategy during an interaction between an entity and the routine, execution thereof promoting further interaction defined in the strategy.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation-in-part (CIP) to a U.S. patent application entitled “Using XML Expressed Primitives for Platform and System-Independent Call Modeling” bearing Ser. No. 09/827,608, filed on Apr. 6, 2001, now U.S. Pat. No. 6,985,478, which claims priority to a U.S. provisional patent application Ser. No. 60/267,294 of the same title filed on Feb. 7, 2001, and is also a CIP of co-pending U.S. patent application Ser. No. 09/024,923 entitled “Telephone Network Interface Bridge Between Data Telephony Networks and Dedicated Connection Telephony Networks” filed on Feb. 17, 1998. Complete disclosure of the priority documents is included herein in entirety at least by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention is in the area of computer-telephony-integrated (CTI) telephone systems including Internet Protocol Network Telephony (IPNT) systems, and pertains more particularly to methods for expressing and implementing intelligent interaction routing across disparate telephony networks and systems using a simple XML-based markup language.

2. Discussion of the State of the Art

In the field of telephony communication, there have been many technological advances in technology over the years that have contributed to more efficient use of telephone communication within hosted call-center environments. Most of these improvements involve integrating the telephones and switching systems in such call centers with computer hardware and software adapted for, among other things, better routing of telephone calls, faster delivery of telephone calls and associated information, and improved service with regards to client satisfaction. Such computer-enhanced telephony is known in the art as computer-telephony integration (CTI).

In a computer-telephony-integrated (CTI) enhanced call center, telephones at agent stations are connected to a central telephony switching apparatus, such as an automatic call distributor (ACD) switch or a private branch exchange (PBX). The agent stations may also be equipped with computer terminals such as personal computer/video display units (PC/VDUs) so that agents manning such stations may have access to stored data as well as being linked to incoming callers by telephone equipment. Such stations may be interconnected through the PC/VDUs by a local area network (LAN). One or more data or transaction servers may also be connected to the LAN that interconnects agent stations. The LAN is, in turn, connected to the CTI processor, which is connected to the call switching apparatus of the call center.

A typical data network telephony (DNT) system uses shared bandwidth instead of a dedicated connection. Recent improvements to available technologies associated with the transmission and reception of data packets during real-time DNT communication have made it possible to successfully add DNT principally Internet Protocol Network Telephony (IPNT) capabilities to existing CTI call centers.

Companies have, for some time, experimented with various forms of integration between the older connection oriented switched telephony (COST) systems and newer Internet Protocol Network Telephony (IPNT) systems. For example, by enhancing, data servers, interactive voice response units (IVR), agent-connecting networks, and so on, with the capability of understanding Internet protocol, data arriving from either network may be integrated requiring less equipment and lines to facilitate processing, storage, and transfer of data.

In a network system known to the inventors and described with reference to Ser. No. 09/024,923, listed in the Cross-Reference section, a computerized telephony bridge unit maintained in the network has a Data Network Telephony (DNT) Port and a Connection Oriented/Switched Telephony (COST) trunk port. Each port is associated with circuitry for receiving and placing calls in the data format required by the connected networks. The bridge unit further comprises conversion circuitry for converting data dynamically between network protocols compatible with each connected network.

In this system, control routines are provided and are executable on the computerized bridge unit. The control routines are adapted to receive a first call from one of the COST or DNT networks, to place a call associated with the received call on the network other than the network on which the call is received, and to dynamically convert data between a call connected at one port and a call connected at the other port. The data network can be the Internet, and the COST network can be any publicly or privately switched dedicated-connection-oriented telephone network.

One with skill in the art will recognize that there are several Internet protocols, CTI protocols, and Device protocols, which have been proposed and adopted as standard or semi-standard protocols for streamlining integrated telephony between disparate networks. For example, an Internet protocol known in the art as H.323 is a standard approved by the International Telecommunication Union (ITU) that defines how audiovisual conferencing data is transmitted across networks. In theory, H.323 should enable users to participate in a same telephony conference even though they are using different videoconferencing applications. Although most videoconferencing vendors maintain that their products conform to H.323, such adherence may not actually produce seamless inter-operability.

Telcordia™ developed another known protocol termed Media Gateway Control Protocol (MGCP) in cooperation with Level 3 Communications™. This protocol is an internal protocol, which was developed to work with existing signaling protocols such as H.323, SIP or SS7. One reason new standards are being developed is because of the growing popularity of what is termed Voice over IP (VoIP).

The inventors know a protocol representing a basic telephony call model as Computer-Supported Telephony Applications (CSTA). ECMA is the international standards organization that defined the CSTA resource model and protocol. To connect a telephone system to Computer Telephony (CT) Connect, a telephone system vendor must provide a CSTA-compliant, ASN.1 encoded message flow. This can be provided across a number of different transports, but TCP/IP is becoming the most popular.

Although the developed protocols do much to facilitate seamless communication between networks adding some third party call control, it becomes apparent that third party control over telephony practiced in VoIP applications is severely limited. Arguably, a significant challenge is providing consistent call model representation both at the call control entity (CCE) and the switching entity (SWE). Any discrepancy between an actual call model implemented by a switch vendor and its reverse-engineered replica in CTI control software causes loss of coherency between the actual switching state and its image in the control software.

The inventor is aware of a system, referenced above as U.S. patent application Ser. No. 09/827,608, for providing third-party call control in a telecommunications environment. The system comprises a call-control mechanism for providing service logic and routing intelligence, a control application for providing service-logic description and command instruction for implementing third-party controlled call connections, a call-switching mechanism for providing an abstract state of switching matrix and for commutation of external and internal call legs, and a commutation application for making and breaking call connections according to commands sent from the control application. The call-control mechanism, using the control application, sends primitive text commands, which may be in the form of an Extensible Markup Language (XML) to the call-switching mechanism, which utilizing the commutation application, receives, reads and implements the text commands containing all of the service logic and instructions required to successfully construct call external and internal connection legs and wherein the call-switching mechanism by virtue of the commutation application sends notification of success or failure regarding implementation of received commands back to the control application.

While the above system provides a solution to the so-far-mentioned problems of representing accurate call models for integrated telephony platforms, it only addresses using XML-based language to achieve system communication of the more simple CTI call-control functions and call states as are currently handled using call control XML (CCXML) and VoiceXML (VXML), both of which are recommended by the World Wide Web Consortium.

In actual practice, communication center (CC) telephony applications are much more complex in scope and represent much more than simple call control commands and Interactive Voice Response (IVR) system scripting. A typical CC application today may include interactive voice response (IVR) scripts, intelligent routing strategies, various call control scenarios, agent scripting, statistical reporting, interaction workflow processing, agent level routing, customer profile-related routing, outbound call support, and multimedia interactions.

In current art, the above-mentioned components may be distributed over different servers and may be built with the aid of different tools and in different languages. Therefore, a CC application designer must work with many different tools to create one CC application. Such a multi-tool effort requires a very high level of expertise and effort.

In current art, achieving uniformity, platform independence, vendor neutrality, and simplification in creation of business applications is facilitated through implementation of Extensible Markup Language (XML) and related technologies. XML is increasingly used as a basis for building applications in different vertical businesses. Good examples of using XML in voice processing are the World Wide Web Consortium-recommended VXML and CCXML. However, VXML and CCXML allow only limited call control in CC applications, capturing only IVR scripting and simple call control routines. VXML and CCXML do not address other important aspects of CC applications such interaction workflow, interaction routing, agent involvement such as agent scripting and agent selection, reporting, customer profiling, outbound calling, and multimedia interaction.

The most complicated part of the design process may be writing a routing strategy. A writing strategy defines a target of an interaction based on business data related to interaction, time and data, application-specific data, agent skills, and so on. Moreover, a routing strategy may perform workflow functionality such as sending an interaction to an IVR system for collecting additional data.

What is clearly needed in the art is a method and system for an enhanced and expanded VXML and CCXML that can express routing strategies in terms of XML-based notation thereby simplifying and streamlining the job of application design and enabling creation of reusable modules.

SUMMARY OF THE INVENTION

According to one aspect of the present invention, a method is provided for supplementing existing interaction routines in a multimedia-capable contact center with added capability including acts for (a) creating at least one rule having at least one rule attribute; (b) creating one or more processes, the processes integral to the rule; (c) defining the at least one rule and integral processes as a strategy; and (d) linking the strategy to the interaction routine, the link serving to cause execution of the strategy during an interaction between an entity and the routine, execution thereof promoting further interaction defined in the strategy.

In one aspect in act (a), the rule is an interaction routing rule including the attributes of condition, timeout, and forced routing. In one aspect, the rule may further include one or more sub rules, each having at least one attribute. In a preferred aspect in act (b), the one or more processes are defined by XML tag and may be executed by machine interaction with the associated tag. Also in a preferred aspect in act (c), the strategy is a complete executable routine specifying the one or more rules, attributes and processes.

In one aspect in act (d), the method of linking is by a machine-readable strategy start tag embedded in the enhanced routing routine. In one aspect in act (b), the processes may include variable, variable assign, priority set, data attach, treatment, target set, or target. In one preferred aspect, in act (d), the interaction routine is one of a call control extensible markup language routine or a voice extensible markup language routine.

According to another aspect of the present invention, a software module is provided for generating an interaction strategy from constructs according to rule including at least one script enabling the strategy, the at least one script transformed by the module into at least one script of an alternate language readable by one or more machines cooperating to serve an interaction leveraging the strategy. The software module includes a first interface to a first server containing constructs of a first language used to build the strategy, a generator to script the strategy from the constructs, a transformation module to transform the generated script into the alternate language, a second interface to a second server containing constructs used in the alternate language, and a second generator to script the strategy in a form representing the alternate language.

In one embodiment, the first language is strategy extensible markup language and the alternate language is one of interaction routing language, interaction routing designer extensible markup language, call control extensible markup language, or voice extensible markup language. In a preferred embodiment, the language transformation module is an extensible style sheet language transformation module.

In one embodiment, the act of creating the strategy and transforming the strategy is executed according to a request received from a transaction server, the transformed routine made available to the requesting system via notification in a response to the requesting transaction server. In another embodiment, the act of creating and transforming the strategy is executed according to a request received from a transaction server, the transformed routine or a link thereto embedded into a transaction server response, the response serving as the instruction for the requesting machine to execute the strategy or to invoke the link to execute the strategy.

In one embodiment, the requesting machine is one of a computer integrated telephony private branch exchange switch, a soft private branch exchange switch, or an Internet protocol router. Also in one embodiment, the alternate language is one of web services description language or web flow description language. In another embodiment, the alternate language is Business Process Execution Language for Web Services.

BRIEF DESCRIPTION OF THE DRAWING FIGURES

FIG. 1 is a system diagram of a prior art call center and network connections, wherein the call center is capable of both COST and DNT call handling.

FIG. 2 is a system diagram of a prior art call center having a dedicated bridge connection for both DNT and COST calls

FIG. 3 is a system diagram of another call center with a dedicated bridge connection as in FIG. 2, comprising an IP telephony switch in the call center.

FIG. 4 is a system diagram of a DNT call center and connections to network level, including a unique bridge unit, in an embodiment of the present invention.

FIG. 5 is a system diagram of the unique call center system and connections of FIG. 4, further showing CTI enhancement.

FIG. 6 is an architectural overview of a communication network practicing unique call-model management according to an embodiment of the present invention.

FIG. 7 is a block diagram illustrating CTI-PSTN call-model management approach according to an embodiment of the present invention

FIG. 8 is a block diagram illustrating a CTI-IP call-model management approach according to another embodiment of the present invention

FIG. 9 is a block diagram illustrating an XML based call-model management approach according to yet another embodiment of the present invention.

FIG. 10 is a block diagram illustrating SMCP control over interior and exterior call leg construction in a CTI scenario according to an embodiment of the present invention.

FIG. 11 is a block diagram illustrating SMCP control over interior and exterior call leg construction in a VoIP scenario according to an embodiment of the present invention.

FIG. 12 is flow diagram illustrating basic steps for establishing an outbound call connection using XML-based SCMP.

FIG. 13 is a flow diagram illustrating basic steps for establishing an incoming call connection using XML-based SCMP.

FIG. 14 is an architectural overview of a multimedia communication center enhanced for intelligent routing and workflow management according to an embodiment of the present invention.

FIG. 15 is a block diagram illustrating components of SW of FIG. 14 according to an embodiment of the present invention.

FIG. 16 is a block diagram illustrating at least four basic communication center environments that may be enhanced with XStrategy.

FIG. 17 is a process flow chart illustrating a CCXML telephony script adapted to invoke VXML and SXML according to an embodiment of the present invention.

FIG. 18 is a block diagram illustrating keyword options for use in an SXML XStrategy routine.

FIG. 19 is a block diagram illustrating optional tags that may be found within XStrategy script according to an embodiment of the present invention.

FIG. 20 is an entity relational diagram illustrating tag interrelationships and hierarchy in an XStrategy script 2000 according to an embodiment of the present invention.

FIG. 21 is a block diagram 2100 illustrating a relationship between XStrategy (SXML) and other generic languages according to another embodiment of the present invention.

DETAILED DESCRIPTION

FIG. 1 is a system diagram of a prior art call center and network connections, wherein the call center is capable of both COST and IPNT call handling. In FIG. 1 telecommunications network 11 comprises a publicly switched telephone network (PSTN) 13, the Internet network 15, and a call center 17. PSTN network 13 may be a private network rather than a public network, and Internet 15 may be another public or a private data network as are known in the art.

In this basic prior art example, call center 17 is equipped to handle both COST calls and IPNT calls. Both COST calls and IPNT calls are delivered to call-center 17 by separate network connections. For example, a telephony switch 19 in the PSTN may receive incoming telephone calls and rout them over a COST network connection 23 to a central switching apparatus 27 located within call center 17. IPNT calls via Internet 15 are routed via a data router 21 over a data-network connection 25 to an IPNT router 29 within call center 17. In this example, network switch 19 is meant to represent a wide variety of processing and switching equipment in a PSTN, and router 21 is exemplary of many routers and IP switches in the Internet, as known in the art.

Call center 17 further comprises four agent stations 31, 33, 35, and 37. Each of these agent stations, such as agent station 31, for example, comprises an agent's telephone 47 for COST telephone communication and an agent's PC/VDU 39 for IPNT communication and additional data processing and viewing. Agent's telephones 49, 51, and 53 along with agent's PC/VDU 41, 43, and 45 are in similar arrangement in agent stations 33, 35, and 37 respectively. Agent's telephones, such as agent's telephone 49, are connected to COST switching apparatus 27 via telephone wiring 56.

A LAN 55 connects agent's PC/VDU's to one another and to a CPE IPNT router 29. A customer-information-service (CIS) server 57 is connected to LAN 55 and provides additional stored information about callers to each LAN-connected agent. Router 29 routes incoming IPNT calls to agent's PC/VDU's that are also LAN connected as previously described. A data network connection 25 connects data router 29 to data router 21 located in Internet 15. Specific Internet access and connectivity is not shown, as such is well known in the art, and may be accomplished in any one of several ways. The salient feature to be emphasized in this prior art example is that separate connections and equipment are necessary and implemented to be able to handle both COST and IPNT calls at the call center.

Each agent's PC/VDU, such as PC/VDU 45 has a connection via LAN 55 and data network connection 25 to Internet 15 while the assigned agent is logged on to the system, however, this is not specifically required but rather preferred, so that incoming IPNT calls may be routed efficiently. Dial-up connecting rather than a continuous connection to Internet 15 may sometimes be employed.

An agent operating at an agent station such as agent station 33 may have COST calls arriving on agent's telephone 49 while IPNT calls are arriving on agent's PC/VDU 41. In this particular example lack of a connection between router 29 and switching apparatus 27 creates a cumbersome situation, requiring agents to distribute there time as best they can between the two types of calls. Thus, agent time is not utilized to maximum efficiency with respect to the total incoming calls possible from both networks.

FIG. 2 is a system diagram of a prior art call center having a dedicated bridge connection for both IPNT and COST calls. Telecommunications network 59 comprises PSTN 13, Internet 15, and a call center 67. This prior art example is similar in architecture to the prior art example of FIG. 1 with an exception in how IPNT and COST calls are delivered to call center 67. Therefore, many of the same elements present in FIG. 1 are shown again in this example, such as telephony switching apparatus 27, agent stations 31-37, LAN connectivity, and so on.

Referring again to FIG. 2, a known network data bridging technique and apparatus is provided, most typically by a local phone company, wherein COST calls and IPNT calls may be routed side by side over one trunk to call center 67. This bridge comprises a first telephone-data modem 61, a suitable trunk connection such as a T1 or E1 trunk 65 as is known in the art, and a second telephone-data modem 63. Telephone-data modem 61 resides at the public-network level, typically with a local telephone company's equipment, but could also be in the PSTN cloud or even the Internet cloud. Telephone-data modem 61 is connected to the PSTN by exemplary COST telephony switch 19 via COST connection 23 and to exemplary data router 21 in Internet 15 via data network connection 25. Calls for call center 67 originating from the PSTN and from Internet 15 are transmitted to telephone-data modem 61. Arriving calls are then routed over dedicated channels within trunk 65 to telephony-data modem 63 at call center 67. For example, a certain number of channels within trunk 65 are dedicated to carrying COST calls while the remaining channels are dedicated to carrying IPNT calls and other data. This is not a dynamic, but a fixed allocation, wherein the portion dedicated to COST transmission remains constant.

Calls that are received at telephone-data modem 63 from trunk 65 are routed appropriately depending on type of call. For example, COST calls are routed to switching apparatus 27, and IPNT calls are routed to data router 29. In both cases, further routing to agents is the same as described with reference to the prior art example of FIG. 1.

Although the network-data bridging technique, as described above with reference to FIG. 2, requires only one connection (65) to provide both COST and IPNT service to call center 67, trunk 65 is partitioned and requires expensive hardware on both ends to provide and maintain service. Further, agents face the same issues regarding handling separate types of calls as was previously described with reference to the prior art example of FIG. 1. The dedicated bandwidth issue is still a problem because the allocation of bandwidth in trunk 65 is fixed, while call loading by type will vary.

FIG. 3 is a system diagram of another system known to the inventors with a dedicated bridge connection as in FIG. 2, comprising an IP telephony switch in the call center. Telecommunications network 73 comprises PSTN 13, Internet 15, and call center 75. The architecture of telecommunications network 75 is similar to the architecture of the prior art example of FIG. 2 with at least two important differences. Firstly, call center 75 is enhanced with an Internet protocol (IP) central-telephony switch 28 that has the ability to convert PSTN call data to IP format, and to distribute the calls as IPNT calls on LAN 7. This enables incoming PSTN calls to essentially be converted into IPNT calls so far as receiving agents are concerned. Secondly, instead of regular ACD type telephones such as agent's telephone 49 of FIG. 2, each agent station 31, 33, 35, and 37 is equipped with an IP-telephone, such as telephones 77, 79, 81, and 83 respectively. Each IP-telephone such as IP-telephone 81, for example, is connected to LAN 77. LAN 77 is enabled for IP data as well as other data that may be transmitted from time to time.

In this prior art example, the requirement for COST telephone wiring such as wiring 56 of FIGS. 1 and 2 is eliminated. Incoming COST calls arriving at telephone-data modem 63 are sent over connection 71 to IP-telephony switch 28. IP-telephony switch 28 converts COST calls to IPNT format before routing the calls to individual IP-telephones over LAN 77. IPNT calls arriving from Internet 15 at telephone-data modem 63 are routed over connection 69 to data router 29 and on to agent's PC/VDU's or agent's IP telephones in the same procedure as described with reference to the prior art example of FIG. 2.

An advantage of this embodiment is that agents may handle both COST-IPNT calls (COST calls converted to IPNT format in IP-telephony switch 28) and regular IPNT calls with either a LAN connected IP-telephone or a LAN connected PC/VDU. Agent time is better utilized. However, the hardware used to facilitate the network-data bridging technique as described with reference to the prior art example of FIG. 2 is not eliminated. Therefore, cost savings is still relatively limited.

FIG. 4 is a system diagram of an IPNT call center and connections to network level, including a unique bridge unit, in an embodiment of the present invention. It is emphasized that the system shown and the description below of the system is exemplary only, and not limiting in the breadth of the present invention. The IPNT aspects of the call center could be implemented in a different, but still data network type protocol. Also the fact of a call center in the example is exemplary. The call center may be any DNT local or customer-premises type system, such as a telephone system at any company.

In this embodiment of the invention COST calls, represented in PSTN network 13 by arrow 90, are converted to IPNT format at the network level before being routed to a call center, and IPNT calls may also be converted to COST calls. This unique and innovative capability would, in a preferred embodiment, be provided by a local telephone company as a service to companies hosting IPNT call centers. The conversion, however, is not limited to the equipment of a local phone company. The conversion bridge may also be in the PSTN or other network, or in the Internet space. Conversion also is not limited to two networks, although examples to follow show two networks for simplicity in description. Bridge units according to the invention may connect to, and operate between three, four, or more networks.

Telecommunications network 85 comprises PSTN 13, Internet 15, and an IPNT-enhanced call-center 89. According to a preferred embodiment of the present invention, a COST-IPNT computerized bridge 87 is provided as a universal bi-directional connection between PSTN 13 and Internet 15. For example, bridge 87 has the ability to convert COST calls to IPNT and IPNT calls to COST format, and also to receive and place calls of both types.

In an example, COST calls received on trunk 23 may be associated with an IP address and routed through Internet 15 to a call center 89, or to any other IP address. In a preferred embodiment IP addresses are associated in a database either resident in the computerized bridge unit or accessible to the bridge. Companies having IP-only call centers may now advertise an 800 (or other no-charge-to-calling-party) COST number, that can be matched via the database to an IP address of a first data-router such as data router 29 within call center 89. Such a database may be relatively limited, such as to clientele of a local telephone company providing the service, or, in the opposite extreme, every COST number assigned in the world may be associated in such a database with an IP address.

Now, a call center such as call center 87 may be implemented as an IPNT-only call center, eliminating much hardware, software, and connectivity associated with prior art call centers. For example, because all incoming calls to call center 87 are now IPNT calls, expensive COST telephony switching apparatus normally found within call centers are no longer required. IP switching apparatus as shown in FIG. 3 is no longer required. COST telephony wiring such as wiring 56 of FIG. 2 is similarly eliminated. A range of other equipment and software associated with COST call centers is also eliminated. Call center functions are substituted with less expensive and easier managed IPNT counterparts running appropriate software applications. Expensive network cabling and hardware used in prior art bridging techniques as described with reference to FIGS. 2 and 3 above is eliminated as well. As a result, companies offering the service as well as companies hosting call centers realize substantial cost reductions related to previously required architecture and infrastructure.

Referring again to FIG. 4, PSTN callers may dial an 800 number, as previously mentioned, that connects them to bridge 87. A matching IP address is retrieved, typically from a database, and the COST call is then converted to IPNT format and routed via the best route available through Internet 15. All quality assurance techniques such as reserving bandwidth, compression techniques, special servers, firewall applications, encryption, and so on, as known to the inventors may be applied.

All incoming calls to call center 89 are now IPNT calls and are received and routed via data router 29 to agents working at agent stations 31, 33, 35, and 37. IPNT calls originating from a caller at a COST number are handled in the same way as IPNT calls originating from Internet 15. Thus, a seamless integration is achieved.

This innovative system and apparatus also works in reverse as follows: An IPNT call may be initiated by an agent within call center 89, perhaps as a call back to a COST caller, and connection may be achieved in a variety of ways. In one embodiment, bridge 87 has voice response or software code capability whereby an agent may offer a COST caller's phone number via spoken voice, software code, key stroke (if using PC/VDU), or touch tone (if using IP telephone) enabling a lookup and subsequent dialing of a COST caller's number. When the called party answers, conversation may ensue between the agent at call center 89 and the called party on a COST telephone connected anywhere to the PSTN network. Also, calls coming from the Internet cloud, represented by arrow 91, may be redirected over the bridge to a COST call center.

In an alternative embodiment, a COST telephone number may be encoded by an agent in call center 89 into an IP address of the bridge, and the bridge is adapted to extract that COST number from the IP address or other header in an incoming IP call from the call center. The coded portion of the IP address may also have just a key instead of the entire COST number, and the key may allow look-up in a stored table at the bridge to certain the COST number to which the call may be connected and translated.

In yet another alternative embodiment, customers may be given IP addresses if they do not already have one so that a general table listing PSTN numbers to IP address numbers may be created and kept both at call center 89 and at COST-IPNT bridge 87. In this instance, customers who do not own a computer would still have a registered IP address for matching purposes. An agent could supply the IP address via voice or other methods as previously described. A database of COST numbers and IP address matches could be far reaching and could conceivably include anyone weather they have patronized a call center or not, or weather they own a computer or not.

In some embodiments of the present invention, data router 29 would not be required. This would be a case wherein the method and apparatus of the present invention is used with a very small call-in location, perhaps operating only a few agent stations or, perhaps, only one agent station. COST-IPNT bridge 87 would route calls directly to the IP address of the agent's computer or IP. Further, routing may be accomplished via an agent's PC/VDU if there is more than one, but a relatively few operating agents.

In still another embodiment, back-up IP addresses may be programmed into COST-IPNT bridge 87 so that when a COST caller dials a free-to-calling-party number, after conversion to IPNT format a first IP address may be replaced by a second or back-up IP address if there is a long wait or if the first IP address is busy. In this case the converted call would be routed to the second choice IP address, and so on. This could be particularly useful for small business wherein only a few contacts are available and expense for a data router would be prohibitive.

FIG. 5 is a system diagram of the unique call center system and connections of FIG. 4, further showing CTI enhancement. In this embodiment sophisticated routing rules known to the inventors may be initiated and executed via transaction-server control over certain hardware (i.e. switches and routers) established in both PSTN 13 and Internet 15. This particular embodiment would most likely be utilized by large organizations hosting many call-centers, which may be spread over a large geographical region.

Referring again to FIG. 5, telecommunications center 91 comprises PSTN 13, Internet 15, COST-IPNT bridge 87 and an IPNT call-center 93. A service control point (SCP) 92 processes incoming COST calls represented by vector 90. A CTI processor 95 executing one or more CTI applications, and known as a T-Server (TS) is connected to router 29. T-Server 95 is connected in the call center to router 29, and monitors activity at router 29 and also exercises control at various levels over operation of router 29. That is, T-Server 95 may be informed of all incoming calls, exercise sophisticated routing rules, and control router 29 in following the routing rules. T-Server 95 is not limited to routing rules and algorithms, but may provide a considerable range of CTI functions. Router 91 can act as SCP for IPNT-originated calls, and may route them to the IPNT call center, or via the bridge to the COST network.

In this embodiment a second T-Server 95 is integrated with equipment at the network level, such as with the SCP in PSTN 13. The T-Server at call center 93 and the T-Server at the network level are connected by a digital link 94. Thus certain T-S routing and control routines (known to the inventors) can be executed at SCP 92. CTI hardware such as additional processors, stat-servers, intelligent peripherals, and the like that may be present in PSTN 13 are not shown but may be assumed to be present in this particular embodiment.

When a COST call arrives at SCP 92, information is typically obtained from the caller via IVR or other methods known in the art. This information may include call destination, purpose of the call, caller identity, etc. This information in some embodiments may be transmitted to call center 93 via link 94 before delivery of the actual call. Based on the information obtained at SCP 92 and, perhaps additional data supplied by T-S 95, the call is routed to a predetermined destination, in this case, COST-IPNT bridge 87 over telephone network connection 23. In another embodiment, T-S 95 may cause an incoming COST call to be routed to another COST-IPNT bridge, or some other destination.

As described with reference to FIG. 4, COST calls arriving at bridge 87 are routed through Internet 15 on data-network connection 25 as IPNT calls. The bridge serves as a dynamically translating interface. A data router 21 is shown connected to line 25 within Internet 15 and is used as a first destination of COST-IPNT bridge 87.

In some embodiments T-S 95 at the call center may also interact with router 21, exemplary of routers and IP switches in the Internet, via connection 26. There may also be instances of T-Servers 95 as shown associated with Internet routers and switches, which may communicate with T-Server 95 at call center 93, to provide CTI functions in the network initiated at call center level.

If it is determined by a T-Server 95 that a call has been miss-routed due to error, for example, it can reroute the call to another location in Internet 15, such as another routing point, or it can rout the call back to PSTN 13 through PSTN/IPNT bridge 87 where the call would be converted back to a PSTN call and sent back to SCP 92, or perhaps another location within PSTN 13. In this and other ways T-S 95 may exercise control over calls at the network level before a call arrives at call-center 93.

In the absence of rerouting, calls arriving at data router 29 are further routed to individual agents as they become available to handle calls. Either IP telephones such as IP telephone 83 or PC/VDU's such as agent's PC/VDU 45 may be used to answer calls. Also, conventional telephones may also be connected individually to PC/VDU's as is shown with reference to agent station 37. In this case, IP telephone 85 is not connected to LAN 77 but rather to PC/VDU 45 via a cable 99. Cable 99 would, in embodiments known to the inventors, acts as an interfacing cable connecting the telephones speaker and microphone functions to a sound card on PC/VDU 45 allowing an IPNT transaction to handled by a conventional telephone. There are several ways such an interface may be made.

The embodiment described with reference to FIG. 5 is useful where sophisticated routing rules are to be implemented. Load balancing between call centers, statistical routing, predictive routing, take-back-and transfer, and other functionality known to the inventors can be applied through T-Server control.

It will be apparent to one with skill in the art that the method and apparatus of the present invention may be used in very large call-center embodiments or in very small call-in centers without departing from the spirit and scope of the present invention. COST-IPNT bridge 87 can be set up to facilitate many companies of various sizes. For example, in one embodiment, a two man company or even an isolated salesman operating from a computer-enhanced sales-order desk may subscribe to a service providing advantages according to the present invention and have their IP address or addresses programmed directly into COST-IPNT bridge 87 so as obviate use of expensive telephone call center equipment.

In another embodiment, a large call center host organization may utilize the present invention with T-server control to distribute calls over a wide geographic region with many call centers and routing points. It will also be apparent to one with skill in the art that there may be many more than one COST-IPNT bridge such as bridge 87 distributed over different geographic locations, and that a single company may reserve access to more than one COST-IPNT bridge at those different locations.

Further, it will be apparent to the skilled artisan that the method and apparatus of the present invention may be applied to many varying network and call center architectures and infrastructures without departing from the spirit and scope of the present invention. For example, instead of applying the method and apparatus of the present invention to PSTN 13 and Internet 15, a private telephone network and a separate and private wide area data network may utilized, and so on. Also, call centers subscribing to services according to embodiments of the present invention may be pure IPNT call centers, or a combination of COST and IPNT. Such a case would be a large call center offering many different areas of service via IPNT whereas bill collection or credit analysis is still handled via COST telephony, and so on.

In yet another aspect of the invention, bridges similar to bridge 87 may be provided between any two protocol-incompatible networks. The interface and functionality described is not necessarily limited to connection-oriented networks interfacing with non-connection-oriented networks. Two DNT networks of dissimilar data protocol could be similarly linked, and two connection-oriented networks having incompatible call protocol could also be similarly linked, for example.

Simple Media Control Protocol (SMCP)

FIG. 6 is an architectural overview of a communication network 600 practicing call-model management according to an embodiment of the present invention. Communication network 600 represents a state-of-the-art network that enables dual communication center capabilities. Network 600 comprises a public-switched-telephony-network (PSTN) 617, a data packet network, which in this example is the well-known Internet network 616, and a dually capable communication center 605.

PSTN network 617 may instead be a private telephone network instead of a public one. Internet network 616 may instead be a corporate wide-area-network (WAN), an Intranet network, or any other type of data packet network (DPN) that supports Internet protocol (IP) telephony. The inventors choose the PSTN network and the Internet network in this example because of high public-access characteristics and because of the existence of already developed and standardized protocols, which enable and enhance integrated telephony.

A customer telephone 619 is illustrated as connected to PSTN network 617 by way of a COST telephone line 618. It may be assumed in this example that within PSTN 617 there are a variety of telephone switches, servers control points, and gateways for enabling cross-network data conversion.

Internet network 616 has illustrated therein a Web server 615 shown connected to an Internet backbone 614. Internet backbone 614 represents all of the lines equipment and connection points that make up the Internet network as a whole. Web server 615 is configured as a customer-interfacing file server through which customers may initiate contact with communication center 605. It will be appreciated by those with skill in the art that a variety of other types of Web servers as well as IP data routers and other network equipment may be assumed to be present in network 616 having connection with Internet backbone 614.

A personal computer 621 labeled herein as a customer PC is illustrated as connected to Internet backbone 614 by an Internet-connection line 622. PC 621 may be any other type of Internet-capable device that supports IP telephony. Internet-connection line 622 may be assumed in this example to include an Internet service provider (ISP) and standard PSTN connection equipment, although none of these are illustrated. Any known Internet connection scheme may be employed with respect to enabling Internet access for PC 621 or equivalent appliance. One well-known common method is a typical dial-up modem connection through the well-known PSTN network using an ISP. Other well-known schemes include digital service line (DSL), integrated services digital network (ISDN), cable-modem connection, wireless Internet connection via a wireless modem, fiber optics, lasers and others. The inventors logically illustrate connection line 622, which is meant to include all possible Internet connection mechanisms and equipment.

Communication center 605 has a central telephony switch 611 illustrated therein, which in this example is a private branch exchange switch. Switch 611 is illustrated as connected to PSTN 617 by telephony trunk(s) 623. Customer phone 619 is meant to represent all possible callers accessing communication center 605 through PSTN 617. Customer PC 621 is meant to represent all correspondents accessing communication center 605 through, in this example, Internet network 616.

As was described in the background section of this specification, communication center 605, as a dually-capable communication center, supports a local area network (LAN), illustrated in this example as LAN 604. LAN 604 is connected to Internet backbone 614 by a network access line 624. Access line 624 logically represents Internet capability of communication center 605 for sending and receiving IP transactions including IP telephony. Actual Internet connection capability of communication center 605 may comprise a 24×7 connection or a dial-up connection. LAN 604 is enhanced to support Internet-based telephony and other Internet-based media transport technologies. In effect, LAN 604 may be considered a sub-network of Internet network 616.

Communication center 605 is capable of sending and receiving COST telephone calls as well as IP telephone calls. For example, incoming COST calls arrive at PBX switch 611 while incoming IP calls arrive on LAN 604 and interface with an IP router 607 illustrated within communication center 605 and connected to LAN 604. It is important to note herein that communication center 605 is not limited to the illustrated configuration represented in this example. For example, considering the network-level bridging capabilities illustrated with respect to FIGS. 3-5 of priority application Ser. No. 09/024,923, center 605 may be adapted and configured to operate according to any one of the illustrated architectures.

The exemplary configuration of communication center 605 shown in this example is used for the purpose of adequately describing various aspects of the present invention. Network-level bridging as described with reference to priority document Ser. No. 09/024,923 may be assumed to be present in this example. Moreover, CTI enhancement representing third-party call control, as illustrated with respect to FIG. 5 above is further enhanced in various aspects of the present invention.

Referring again to FIG. 6, a CTI server 606 is provided and illustrated as connected to LAN 604 via a LAN connection. CTI server 606 is adapted to provide third-party call control over illustrated switching entities (SWE) PBX 611 and IP router 607, to which this server is coupled. CTI server 606 has call control software installed thereon and illustrated in this example as transaction server (TS) 608. For the purpose of simple illustration, TS 608 is shown separately but logically connected to CTI server 606. TS 608 is analogous in many respects to T-S 95 illustrated in FIG. 5 above. For example, TS 608 contains routing and service logic required to successfully route calls from either PSTN 617 or Internet 616 within and in some cases without communication center 605. CTI server 606 is connected to PBX 611 by a CTI link 620. CTI server 606 establishes connection with router 607 by way of LAN 604. It is well known in the art that SW instances such as servers may sit on a variety of different computers in the network, and deliver the same functionality. It is therefore only as an illustration, what specific computers have been assigned which functions.

IP router 607 is adapted to communicate using protocol H.323 (609) as defined in the background section of the specification. Router 607 comprises a virtual switch matrix that defines all of the endpoint routing possibilities within communication center 605. Also connected to LAN 604 is an exemplary Agent's Workstation 601, further detailed by presence of an agent computer 602 and an agent telephone 603. Agent computer 602 is connected to LAN 604 by way of a LAN connection. Telephone 603 is connected to PBX switch 611 by an internal telephony wiring 625. It is noted herein that telephone 603 is also coupled to agent computer 602. This may be, for example, by way of a cable connected to any sound card installed within computer 602. This configuration, known to the s, allows telephone 603 to be used both as a COST telephone and an IP telephone. However, for purposes of the specification it will be assumed that telephone 603 is employed to handle COST calls from PSTN 617 while computer 602 is employed to handle IP calls arriving from Internet 616. Other architecture is possible, such as separate IP and COST telephones. A database facility (DB) 610 is provided and connected to LAN 604. DB 610 is adapted in this example as a customer information database and server (CIS) and is provided as a resource to communication center agents.

As was described with reference to the background section, one of the main challenges to enabling successful telephony with third-party control is maintaining consensus concerning a call model, attributes of which enable all third-party control functions. For example, PBX switch 611 is a vendor-provided switch conforming to a particular call model. TS 608 must have knowledge of that call model in order to be used to build third-party controls. IP router 607 also conforms to a particular call model for, in this example, VoIP conforming to protocol H.323. In order to provide third-party control over router 607, TS 608 must have knowledge of that model. Although it is not shown in this example, it may be assumed that there is also third-party control over network-level switches and IP routers. In this case, TS 608 must also have knowledge of the call models of those switches and routers that are to be controlled.

While telephony, Internet, and device protocols enable some third-party control, more so regarding PSTN control than DPN control, as described in the background section, requiring that all call models be reverse-engineered and emulated by TS 608 adds considerable complexity to a coherent and continually reliable telephone service capability as provided by communication center 605. For example, if communication center 605 replaces switch 611 with a switch from another vendor conforming to a different call model, TS 608 would have to be retooled (reprogrammed) in order to enable third-party control over the new switch. The same would be true regarding router 607. Even with the availability of such tools (e.g. Genesys T-Server™), there is a complexity involved, and that leaves room for mistakes, due to revision levels, SW errors etc.

In an embodiment of the present invention TS 608 is enhanced with an instance of a protocol software termed Simple Media Control Protocol (SMCP) by the inventors. An instance of SMCP 626 a is illustrated as integrated with TS 608. An instance of SMCP 626 b is illustrated as provided to PBX 611, and an instance of SMCP 626 c is illustrated as provided to IP router 607. Instances of SMCP communicate with each other using a low-level software protocol that allows for only one call model to be emulated by TS 608 and provides access to switching entities 611 (PBX) and 607 (IP router).

It is reminded herein that a call model emulates a switch state of a switch or router manufactured by a vendor. It will be appreciated by one with skill in the art that not all switch states are universal and vendors are prone to adding modifications to their switch states, which must then be emulated by CTI software to continue reliable third-party control over such switches and routers. It will also be appreciated that there is a great richness and a variety of state-of-art controls and functions that enable many varying call behaviors. Therefore, the typical call model is very complex indeed. The challenge of providing reliable third-party control is especially difficult when dealing with distributive DPN environments such as VoIP wherein end devices and distributed gateways, if any, share switching intelligence.

SMCP 626 provides that only one call model need be established by the call controlling entity (CCE), namely CTI server 606. SMCP instances 626 a, 626 b and 626 c need only provide definitive access to switching function without necessitating a complex call model. In this way, greater flexibility and reliability is realized in third-party or CTI server control over PBX 611. Moreover, the exact same call model for control over PBX 611 may also be used to control router 607 and provide all of the same PBX-based services to IP callers from Internet 616.

FIG. 7 is a block diagram illustrating a CTI-PSTN call-model management approach according to an embodiment of the present invention. In this example, there are 2 illustrated third-party control states, one at left, and one at right within FIG. 7. In a classic prior-art approach within a PSTN environment a CTI server 608 is illustrated and has a Call Model supported therein, the call model illustrated as an abstraction comprising a plurality of circles and directional arrows. The call model represents the actual switch state of a PBX or other telephony switch. The CTI server 608 may be analogous to CTI server 606 of FIG. 6 in a prior-art sense with no SMCP enhancement. The CTI server 608 communicates with a switch illustrated herein as switch 611 a by way of a CTI protocol link 700 analogous to CTI link 620 of FIG. 6.

Software running on switch 611 a is illustrated herein as software 621 which contains a Call Model, hopefully identically emulated in server 608. Switch 611 may also have a switching matrix 702, which is the actual physical switch capability of switch 611 a. In prior-art then, switch 608 provides a third party control over switching matrix 702 only by being able to identically emulate call model objects common in both call models. Control routines including call service and routing routines utilize the call model objects within their commands. Both machines must recognize and understand, by virtue of software, all included call model objects. If the call model of PBX software 621 is updated or changes in any way, the call model within CTI server 608 must be identically updated or retooled to reflect the update to avoid difficulty or failure.

Referring now to a preferred embodiment illustrated at right, a CTI server 704 is illustrated having a Call Model represented identically as the call model of CTI server 608. In addition to the described Call Model, CTI server 704 also has a thin SMCP stack or layer 705 installed therein and integrated with the CTI server Call Model. This combination is referred to as a Call Control Entity (CCE) in this specification. A Switching Entity (SWE) labeled 611 b is assumed analogous to PBX 611 enhanced with SMCP 626 b as described in a preferred embodiment with reference to FIG. 6. SWE 611 b has identical (to Switch 611 a) switching matrix 702 installed therein and also has a thin SMCP stack, which obviates the need for a call model. In actual practice of the present invention, call model objects contained within control routines in commands are described in low-level parameters using SMCP 705, which communicates to SMCP of SWE 611 b over a communication link 703. Because SMCP is expressed in a low-level descriptor language, call model objects generic to the call model in server 704 can simply be described along with the commands for controlling switching matrix 702.

In this example, the actual switch state is represented by SWE 611 b simply as a descriptor language with no high-level call model objects. In this example, all of the available switching embodiments may be accessed and controlled using SMCP in accordance to only one established call model maintained by the CCE, in this case, server 704.

FIG. 8 is a block diagram illustrating a CTI-IP call-model management approach according to a preferred embodiment of the present invention. This example represents 2 different CTI control states, and a CTI server representing a CCE controls an IP router analogous to router 607 of FIG. 6. A classic prior-art state is represented at the left of FIG. 8 while a preferred embodiment utilizing SMCP is illustrated at right.

Referring now to the classic prior-art representation, CTI server 608 communicates with an IP router 607 a utilizing CTI protocol over a link 700. Link 700 may be analogous to LAN 604 of FIG. 6. As represented in FIG. 7, CTI server 608 contains a Call Model that emulates a Call Model provided with an IP router 607 a and enabled by a software 621. The Call Model facilitated by software 21 includes a virtual switching matrix 702 defining the actual switch state and capability of IP router 607 a. Call Model objects defined within software 621 must be identically emulated at CTI server 608 with respect to its Call Model.

Virtual switching matrix 702 defines all of the edge computers and end points within a communication center that may accept IP calls. In this classic approach, CTI server 608 communicates through CTI protocol to IP router 607 a in order to execute third-party control over virtual switching matrix 702, which defines the functional capabilities of IP router 607 a. As was described above in the PBX embodiment with reference to FIG. 7, the mirrored Call Model within CTI server 608 must be retooled to reflect every update or change occurring within software 621 and the affected Call Model of IP router 607 a. It will be appreciated by one with skill in the art that the Call Model representing the IP switching environment will add considerable complexity to an emulated Call Model in CTI server 608, assuming that a single call model will be constructed to handle both PBX and IP telephony within a given communication center. Moreover, because IP networks are disparate with respect to protocols, in call-routing and connection methods from a standard PSTN network more complexity is required to integrate CTI and IP communication, which must be accomplished to enable third-party control.

Referring now to a preferred embodiment of the present invention illustrated at right in FIG. 8, CTI server 704 is enhanced with SMCP stack 705 as was illustrated with respect to FIG. 7 above. However, in this example CTI server 704 communicates with a modified IP router 607 b. The modification to IP router 607 b involves eliminating the need to maintain a Call Model as is illustrated with IP router 607 a by virtue of providing a thin SMCP stack integrated with router software. CTI server 704 is termed a CCE and IP call router 607 b is termed a SWE. Communication between the illustrated SMCP stacks is accomplished over link 703, which in the example of FIG. 6 is analogous to LAN 604.

Virtual switching matrix 702 is identical in both router a and router 607 b. The advantage of using SMCP is that high-level objects do not have to be represented in two separate Call Models. Again, a low-level descriptor language represents the Call Model of CTI server 704 to router software, which in turn by virtue of SMCP, enables CTI access to virtual switching matrix 702. In this example, the Call Model emulated in CTI server 704 maybe identical to the PBX Call Model for providing third party control over a PBX switch. SMCP enables manipulation of virtual switching matrix 702 according to the service logic and intelligence available in the PBX model.

FIG. 9 is a block diagram illustrating an XML-based call-model management approach according to yet another embodiment of the present invention. In this example, a CTI server 800 is enhanced with a capability of providing third-party call control in a classic sense in a PBX embodiment and simultaneously using SMCP to provide control in an IP embodiment.

A CTI server 800 is illustrated with a Call Model 801 and a call-model manager (CMM), which is XML-based meaning that the low-level SMCP descriptor language is in fact XML. Switch 611 a, which is analogous to switch 611 of FIG. 6 is a classic vendor-provided switch containing a Call Model and a switching matrix 702. CTI server 800 exerts third-party control over switch 611 a by way of CTI protocol link 700 as was described with reference to FIG. 7 at left. A Call Model 801 enabled by CTI software emulates PBX software model 621 and normal CTI protocols are used in communication over link 700. XML-CMM 802 is a virtual Call Model expressed in XML language. XML-CMM 802 contains all of the XML attributes of Call Model 801.

CTI server 800 is the CCE while PBX switch 611 a and SMCP-enhanced IP router 611 b are SWEs. Note that the switching matrix 702 of IP call router 611 b is a virtual matrix and is not identical to switching matrix 702 of PBX switch 611 a. In this enhanced embodiment, only a single Call Model (801) is required to control PBX switch 611 a in a classic CTI sense and for controlling IP router 611 b using the novel SMCP protocol. It is noted herein that in embodiments illustrated and described with reference to FIGS. 7, 8 and 9, SMCP-enhanced SWEs contain no service logic or other intelligent routine logic.

It will be apparent to one with skill in the art that SMCP enhancement as described with reference to FIGS. 7-9 enables use of a single Call Model maintained only by a CCE (third-party controller) and that vendors of telephony switches and data-packet routers then need not maintain elaborate Call Models. All that is required to practice the present invention is to enable low-level access (command control) of a CCE to physical and virtual switching elements maintained in telephone switches and IP routers. As a result, much additional complexity and integration of protocols and provision of updated or revised Call Model objects is eliminated. More detail regarding SMCP capability is described below.

FIG. 10 is a block diagram illustrating SMCP control over interior and exterior call leg construction using a voice-switch commutator according to an embodiment of the present invention. As is known in the art, all telephony including IP telephony communications involve constructed connection states that make up call legs in the art. A call leg is essentially one-half of a connected call. Call legs in a PSTN environment are physical legs that are dedicated-connection oriented. Call legs in a VoIP environment are virtual call legs. A Call Control Entity (CCE) 1005, assumed to be a CTI server analogous to server 606 of FIG. 6, is illustrated herein and adapted to provide third-party control over an illustrated Switching Entity (SWE) 1000, which is assumed to be analogous in this example to IP router 607 of FIG. 6. In this example, CCE 1005 communicates with SWE 1000 via a LAN network 1004. Both CCE 1005 and SWE 1000 are enhanced with an SMCP stack. It is assumed herein that CCE 1005 maintains a Call Model providing all of the service logic and routing intelligence available within an applicable communication center environment.

A plurality of incoming IP telephony trunks 1003 are illustrated as ported to SWE 1000. A virtual switching matrix 1001 serves as a switching interface (software) between IP trunks 1003 and a like number of illustrated connection ports 1008. Call legs 1010, illustrated within switching matrix 1001 identified as interior call legs. For example, the upper-most connection port 1003 on SWE 1000 is illustrated as connected to the lowermost connection port 1008 using two interior call legs 1010. The point represented as the junction of the two interior call legs is a call connection point. That is, an incoming call to any of ports 1003 may be maintained with one interior call leg and any connection point. A second interior call leg must be constructed to complete the connection through switching matrix 1001 to any of ports 1008. Moreover, calls arriving at SWE 1000 wherein the final destination is on the same side of switching matrix 1001 have interior call legs connected to ports on a same side of SWE 1000.

Exterior legs are defined as legs exterior to SWE 1000. Exterior legs are represented in this example by element number 1009. It is important to note herein that legs 1009 do not represent separate physical data lines, but rather open data channels, which are logically illustrated.

In this example there is a grouping 1006 of IP telephony devices (End-User Devices) represented herein by an element number 1007. In this logical representation, it may be assumed that exterior legs 1009 are data channels established over LAN 1004 wherein IP devices 1006 are connected directly to LAN 1004 or indirectly to LAN 1004 through individual workstation computers. It is also noted herein that that CCE 1005 and SWE 1000 are represented as abstract modules in the sense that their physical embodiments depend on the exact architecture of a VoIP network. For example, if SMCP is used in an H.323 network, SWE 1000 may be implemented as a Gatekeeper. In an MGCP-based network, the role of SWE can be played by a Media Gateway Controller (MGC) and so on.

In this example, SMCP software assumes that SWE 1000 implements an abstraction of a commutating device allowing separate control of call legs both interior and exterior. That is, SWE 1000 must be able to ensure that externally invisible calls are kept established even when the commutating device tears down and then re-establishes internal connections (call legs). The SMCP stack of SWE 1000 represents the switching state and accepts commands from CCE 1005, which may be XML based or based on other low-level descriptive languages, the commands containing XML description of the various service objects and options generic to the call model of CCE 105.

FIG. 11 is a block diagram illustrating the voice-switch commutator of FIG. 10 implemented in an enterprise VoIP scenario according to an embodiment of the present invention. This example illustrates how SMCP is utilized in an actual VoIP scenario. A communication center LAN 1106 is used to connect a plurality of IP telephony devices represented herein as devices 1117. Each device 1117 has a virtual port 1116 associated therewith. A CCE 1103 (CTI Server) is running an SMCP stack 1105 and a SWE 1102 is running an SMCP stack. CCE 1103 is directly connected to LAN 1106 while SWE 1102 is illustrated as directly connected to LAN 1106 and to an IP gateway 1101

In this example, calls are routed to the communication center or enterprise center from Internet 1108 via an IP router 1110 onto LAN 1106. IP connections are established by commutating call legs within gateway 1101 by SWE 1102 running SMCP 1104. An IP interface port 1114 is provided as an input to gateway 1101. Gateway 1101 has a virtual switching-matrix modeled therein. Call legs are represented in this example by external legs 1113, and internal legs 1115. External legs are logically illustrated from Internet 1108 through router 1110, onto LAN 1106 and into IP port 1114. Internal call legs are represented from a connection point within gateway 1101 (switching matrix) to virtual device ports 1116, and in one instance, between two virtual device ports 1116. The latter illustration is exemplary of versatility of virtual connection.

Call legs are terminated at endpoints and are associated with physical or virtual ports. However, there are some situations that may arise wherein endpoints do not have associated virtual ports. Some ports can be used for support of multiple simultaneous connections. The parts of call legs outside of a switch or a gateway (1101) are called exterior; connections between them inside switches are interior. In this example, more than two call legs can be connected together to form a multi-party conversation.

Typically, endpoints can terminate only one call leg at a time. However, in some cases (for example, call treatment sources, such as music-on-hold) a single endpoint can be connected to multiple call legs. All endpoints have unique endpoint addresses represented, in preferred embodiments, as ASCII character strings. Depending on an exact application, such strings can be telephone numbers, URLs, E-mails, and so on. The exact naming scheme is application-specific.

Similar to other Internet protocols, SMCP messaging is text based. All messages exchanged between SMCP stacks contain only ASCII printable characters, spaces and tabs. Each message line is terminated with a CR-LF sequence (0D 0A hex.). Following is an example of actual message structure.

Message-verb reference-number CR LF

attribute-name: attribute-value CR LF

attribute-value-continuation CR LF

attribute-name: attribute-value CR LF

CR LF

Message verbs and attribute names are strings composed of letters, digits and dashes. Attribute values are arbitrary strings of printable characters, spaces and tabs. An attribute value string can span several lines, with continuation lines starting from space or tab. An empty line (line containing only the CR LF sequence) terminates an entire message. All messages sent by a CCE will be referred to as requests, and all messages sent by SWE will be called events or notifications. Both sides must also send replies in response to received messages in a request response IP environment. Message reference numbers are generated by a CCE during communication. Reference numbers are unique decimal integer numbers used to match replies to requests. All requests and notifications must have reference numbers. SMCP protocol enables end devices to be implemented as less complex (intelligent) devices.

FIG. 12 is flow diagram illustrating basic steps for establishing an outbound call connection using XML-based SCMP. The following process steps illustrate a simplest successful outbound connection but do not illustrate optional treatment. At step 1200 there is no connection established as known for a pre-call state. At step 1201, a call request is sent. This step is initiated when a CCE sends a command to SWE to initiate a call request. It is noted herein that if a request is not valid, SWE responds with an error reply. If a chosen port is busy, SWE responds with a busy reply. Assuming herein that the request is valid, SWE allocates a call-leg identifier and returns it to CCE with a calling reply in step 1202. Step 1202 amounts to an outbound call request acknowledgement.

At step 1203, SWE initiates a transport connection to the endpoint selected in step 1201, and sends a Call Setup message to the endpoint, which replies with a Call Proceeding (CP Received) message indicating that the end point will assume further responsibility for completing the connection. SWE also sends a Call Alert message, which is received in step 1204. The CA message indicates that the call has been delivered to the end-user device, and the end user device has begun alerting the user via a ringing event or other alert.

If a called end user answers the event, the endpoint device called replies with a Setup message, thus initiating the process of establishing a transport connection to complete the connection. SWE informs CCE about this event with a Call Answered notification in step 1205. When a transport set-up is completed, the endpoint device replies with a call-connected or established notification in step 1206.

At any time during the sequence after a Calling notification in step 1202, SWE may inform CCE that the requested connection cannot be completed with a Dropped notification (not illustrated). If CCE did not send a Hang-up request for this call already, a Hang-up request must be sent to release the connection after receipt of a Dropped notification. XML primitives communicated through SMCP provide a reliable mechanism for manipulating or commutating the end-point sides of call legs in this example of out-bound calling. Other procedures not illustrated herein include configuration management, encryption, and fault tolerance.

It will be apparent to one with skill in the art that the process steps illustrated herein may be supplemented with many optional side routines integrated therewith without departing from the spirit and scope of the present invention. For example, intelligent routing routines and multiple party connections may also be implemented and integrated with the basic scheme of this example.

FIG. 13 is a flow diagram illustrating basic steps for establishing an incoming call connection using XML-based SMCP. For managing inbound calls arriving within an enterprise communication center SMCP utilizes four basic protocol data units Ring, Send CP, Send CA, and Answered.

In step 1300, there is no connection as the system is in the state of pre-arrival of an incoming call. At step 1301 SWE detects an Arriving call or attempt to set-up a transport (port to port) connection accepts the request and reads the set-up message. SWE alerts CCE about the incoming event with a ring notification. At step 1302, CCE commands SWE to send a Call Proceeding message to the calling party with a Sending CP request in step 1302. At step 1303, a notification from SWE is received at CCE indicating that the Call proceeding message was sent and arrived at the calling party.

In step 1304, CCE instructs SWE to send a Call Alert (CA) notification to the requested calling party and wait for an OK reply. At step 1305, the Call Alert has arrived and the calling party is notified by a ringing event or other notification. At step 1306, CCE answers the call and requests that SWE perform the transport protocol negotiation with an Answer request, and wait for an OK reply.

In step 1306, SWE sends notification to CCE about success or failure of the requested negotiation. If the transport connection was successful the requested connection is considered established or answered in step 1307 and SWE sends an Answered notification to the CCE. It is important to note herein that at any time after an original Ring notification in step 1305, SWE may notify CCE that the requested connection was abandoned with a Dropped notification. If CCE did not send a Hang-up request for this call, this request must be sent to release the connection after receipt of a Dropped notification. After receiving any reply or notification pertaining to the current call leg, CCE may command SWE to drop the connection with a Hang-up request. After issuing a Hang-up request CCE waits for a Dropped notification from SWE before assuming that the port is available for a next call attempt.

SMCP media-stream commutation allows interconnecting existing exterior call legs in an arbitrary manner. The connections are established with a Make request and are tom down with Break or Hang-up requests. It is important to note that interior connections for different media streams related to a same call leg are different connections, and can be independently established or torn down. It is also noted herein that interior call legs may be established before exterior legs are completed.

It will be apparent to one with skill in the art that the process steps illustrated herein may be supplemented with many optional and or additional side routines integrated therewith without departing from the spirit and scope of the present invention as was described above with reference to FIG. 12. For example, advanced intelligent routing routines and multiple party connections may also be implemented and integrated with the basic scheme of this example. The inventors intend that the simplified process of this example represent just one basic implementation of connecting or establishing an inbound call using SMCP in a VoIP scenario.

Using XML-based primitives as a low level language for SMCP protocol enables one to control exterior and interior call legs. The control procedures allow one to develop different and varied third-party services whose logic is placed into the CTI Server as was described with reference to FIG. 6 above. Created services may include, but are not limited to any standard PBX-based service as well as complementary services like call transfer, call forwarding, conferencing, call hold, etc. These services and more may be provided in a VoIP environment without duplicating a call model in the SWE. Moreover, a wide variety of specific services can be provided that are not supported by standard PBXs.

Referring now back to FIGS. 12 and 13, XML messaging as used in SMCP provides a reliable mechanism for CCE, SWE communication and call leg commutation. Following is an actual example of an XML message Ring notification.

<?xml version=“1.0”?> <SMCP version=“1.0”> <RING   leg_ID =“12345”   port=“1392”   protocol=“h323v2”   user_information=“SMCP_Callcenter_representative_007”   DNIS=“9131346”   Caller=“9131104”   ANI=“4371100”   Ring_tone=“urgent”   peer_type =“conference”>     <codec       media-type =“audio”       codec-type =“g711”/> </RING> </SMCP>

The first line is a line common for all XML documents. It says that the following is a XML document and XML is of version 1.0. The second line contains a root tag <SMCP> telling that the XML document is a document related to SMCP vocabulary. In other words it says that the present XML application is SMCP protocol.

The third line opens a tag <RING> that corresponds to SMCP message RING. This tag has 9 attributes corresponding to parameters of the message. These are leg identification (ID), port, protocol, user information, destination number identification service (DNIS), caller, automatic number identification (ANI), ring tone, and peer type. The tag contains tag <codec> as a constant. The tag <codec> in its turn has two attributes media-type and codec-type corresponding to parameters of a Ring message. This fact enables use of multiple codec tags. The last two tags of the XML message terminate the message.

It will be apparent to one with skill in the art that the method and apparatus of the present invention may be utilized in any telephony environment including PBX, standard DNT and in VoIP type environments without departing from the spirit and scope of the present invention. In one embodiment, both classic PBX and VoIP architectures may be supported by a single server and call model. There are many possibilities.

XML-Based Routing and Workflow Strategies

In one embodiment of the present invention the inventors provide an XML vocabulary and method for enhancing existing routing strategies for multimedia interactions in a way that is universally applicable between different routing systems and multimedia types. The methods and apparatus of the invention in this aspect are detailed below.

FIG. 14 is an architectural overview of a multimedia communication center 1403 enhanced for intelligent routing and workflow management according to an embodiment of the present invention. Multimedia communication center (MMCC) 1403 represents any type of contact or call center capable of processing and routing incoming and outgoing multimedia communications both in a digital environment and in a connection oriented switched telephony (COST) environment. There may be many variant architectures and equipment groupings represented within MMCC 1403 without departing from the spirit and scope of the present invention. The inventors intend that MMCC 1403 represent just one example of a dual capable communications center that may field interactions such as but not limited to COST voice interaction, Voice over Internet Protocol (VoIP) interaction, Internet messaging, and Web service interaction.

MMCC 1403 has access to a public switched telephony network (PSTN) 1401 and has access to the well-known Internet network 1402. One with skill in the art of network bridging technologies will recognize that interactions may be routed between Internet network 1402 and PSTN 1401 in seamless fashion over communications line 1406 using a suitable communications gateway such as a signal seven (SS7) (not illustrated) or other known gateway.

MMCC 1403 has a computer telephony integration (CTI) enhanced private branch exchange (PBX) telephony switch 1407 provided therein and adapted as a central office telephony switch for routing incoming and outgoing telephone interactions incoming from PSTN 1401 and outgoing from MMCC 1403. PSTN may be a private or public telephone system without departing from the spirit and scope of the present invention.

PSTN 1401 includes a service control point (SCP) 1404 adapted to route any incoming calls from anywhere in PSTN 1401, as illustrated by directional arrow, to MMCC 1403, or more specifically, to PBX 1407 over a connecting communications trunk. PBX 1407 is CTI enhanced in this embodiment, as previously described. PBX 1407 is also enhanced with transaction server (TS) software 1408 a, known to the inventor. TS 1408 a is adapted to provide intelligent agent level routing within MMCC 1403 including system treatment by automated subsystems. In this example, PBX 1407 has interactive voice response (IVR) 1426 provided thereto as part of CTI enhancement. IVR 1426 is adapted to solicit information from callers through voice interaction to aid in internal routing performed by PBX 1407. It will be understood by the skilled artisan that many other intelligent routing routines may be in place.

Internet network, hereinafter referred to as Internet 1402 in this specification has a contact server (CS) 1405 provided therein and adapted as a digital portal or other communications catalyst between customers and potential customers of MMCC 1403 and MMCC services. Server 1405 may be a Web server containing electronic information pages detailing services including interactive contact forms, contact options, and live communications options. These may include Web service transactions, email contact options, VoIP options, telephone contact options, instant messaging options, and live chat options. Video conferencing may also be provided through interaction with server 1405.

Interaction occurring within server 1405 is monitored and serviced by MMCC 1403. Live interactions and requests may be routed from server 1405 to MMCC, or more particularly, to an Internet protocol router (IPR) 1413 provided within the center. In this example, IPR 1413 has a firewall application (FW) 1414 installed thereon and executable there from. FW 1414 is adapted to provide network security and to prevent unauthorized data from entering MMCC 1403. IPR 1413 also has a soft private branch exchange (SPBX) telephony switching software 1415 installed thereon. SPBX 1415 is adapted to route incoming IP voice interactions internally to live agents, systems, or to PBX 1407 for further routing. SPBX 1415 is enhance with a version of TS software 1408 d for providing intelligent SPBX routing in much the same fashion as was described with reference to TS 1408 a on PBX 1407.

MMCC 1403 is enable via a local area network (LAN) 1423, which may also be a series of connected LANs, a WAN, or some other digital network capable of transfer control protocol/Internet protocol (TCP/IP) and other necessary protocols for communication and data transfer. LAN 1423, also referred to herein as a backbone 1423, supports CTI PBX 1407, IPR 1413 and other systems and equipment groups described further below.

Backbone 1423 supports an email (EM) router or server 1427, which is adapted to receive incoming email messages internally sourced and those sourced from Internet 1402. In this case, all email identified at IPR 1413 might be forwarded directly to EM 1427 for distribution to agents and/or automated systems. EM server 1427 is enhanced with a version of TS 1408 b. TS 1408 b is adapted to intelligently route emails according to any strategy created for the purpose. Backbone 1423 also supports an instant messaging (IM) router or server 1428. IM server 1428 receives and routes all incoming instant messages either sourced from within MMCC 1403 or incoming from Internet 1402 and forwarded to server 1428 via IPR 1413. IM server 1428 also has a version of TS 1408 c provided thereto to add some intelligence to IM routing.

It is noted herein that EM sever 1427 and IM server 1428 may be directly ported to Internet 1402 and may function independently from IPR 1413 without departing from the spirit and scope of the present invention.

Backbone 1423 supports a data repository system (DRS) 1410 for managing customer relations, customer information, product and service records, purchase records, and other important data required by MMCC to operate. DRS 1410 includes a data server (DS) 1411 adapted to serve any requested data to live entities within MMCC 1403 or to requesting system including routing strategies and workflow management strategies. DS 1411 has access to data stores 1412. There may be fewer or many more data stores provided to server 1411 without departing from the spirit and scope of the present invention. Data stores 1412 may be optical storage disks, RAID disks, magnetic disks, hard disks, or any other storage space adapted to store digital data.

An agent-scripting server (ASS) 1409 is provided within MMCC 1403 and is adapted to retain and server agent scripts upon request. ASS server 1409 may contain scripts, for example, that are used to prompt an agent as to how to handle a specific class of interaction. Part of the routing routine in such cases might be to call ASS 1409 during the course of interaction routing and to have the appropriate scripts delivered to the target agent desktop so that they are available at the time of the interaction. Still other systems supported by backbone 1423 include a statistics server (STS) 1416 and an XStrategy server (XST) 1417.

STS 1416 may compile and report statistics collected from ongoing interactions in the center. Another possible use for STS 1416 is to provide statistics values for requesting routing routines. For example, a specific target agent may at the time of a call, be statistically more likely to be available than another agent which may be part of a target group of agents handling the class of incoming calls. In this case the routing routine responsible for selecting which agent queue to deliver the call into consults STS 1416 for an up-to-date value that identifies the agent that is statistically most likely to become free to handle the incoming call.

XST server 1417 is provided and adapted to contain all of the required XML constructs to represent routing strategies used by MMCC 1403 and the generic constructs used by various routing machines such as IM server 1428, EM server 1427, IPR 1413, and CTIPBX 1407. XST 1417 may also contain representative constructs equating to TS variables and constructs. XST server 1417 has a software instance SW 1418 installed thereon in permanent or removable fashion and which is executable there from. SW 1418 is an application that enables existing routing routines to default to server 1417 for certain intelligent routing routines and routing routine extensions that would otherwise not be available to the routing routines working in one or more existing languages such as VXML, CCXML, or interaction routing languages (IRLs) known to the inventor. It is noted herein that XStrategy documents have a file name of .sxml, hence the acronym SXML is used to define an XML document containing XStrategy constructs and attributes. An SXML document (.sxml) and may include existing markup features and attributes as well as new and novel features and attributes without departing from the spirit and scope of the present invention. More detail about XStrategy markup language will be provided throughout this specification.

Backbone 1423 supports a plurality of agent workstations 1419, 1420, and 1421. Agent workstations 1419-1421 represent target agents who would be charged with handling various incoming interactions. Each station 1419-1421 includes, at minimum, an agent desktop computer and a telephone as illustrated by the enclosed icons at each station. Each agent desktop has LAN connection to backbone 1423. Each agent telephone, in this example, is connected to PBX 1407 via internal telephone wiring 1422. In other embodiments, the telephones may be Internet Protocol (IP) telephones connected as peripherals to their host desktops, or connected directly to LAN backbone 1423.

In practice of the present invention, server 1417 aided by software 1418 may be consulted during routing of any routable form of communication incoming or outbound from MMCC 1403. In one embodiment, SW 1418 is an automated language conversion application that provides intelligent routing strategies that may be “invoked” by any existing routine and that may execute within or along side existing routing scripts on the fly. In this way, extra intelligent handling of communication events may be implemented when such handling may be required by or order from any executed routine.

In one embodiment of the present invention, a programmer operating at any one of agent stations 1419-1421 or perhaps, a similar dedicated programming station may use SW 1418 to create intelligent routing routines in XSML and may launch those routines such that the target routing system that will call the routine may use the routine as written without requiring any other language conversion. In this case, all of the routing function and capabilities or task routines generic to the machine are provided in the new language. In still another embodiment, SW plug-ins (not illustrated) may be provided to each targeted routing system including any illustrated herein. The plug-in capability may provide interjection of the new routing routines into existing routines by tagging to provide on-site intelligence to those routing systems.

To understand the method of the present invention, assume that a communication event (CTI telephone) call is incoming and queued at CTIPBX 1407. IVR interaction with the call may determine that the caller requires routing to a specific agent operating at 1419. CCXML may simply report a busy state at station 1419. An XST rule may be in place for such an event and TS 1408 a may call server 1417 in the event of a busy determination to call a routine according to an XST start tag, for example, embedded in CCXML. The intelligent routine executes in place of or in conjunction with the current routing routine and may run in parallel with the routine until a particular goal of the strategy is satisfied. If there is a rule that requires a second look-up of all qualified agents and then routing to one of those agents that is “best qualified” of the target pool after the “busy agent”, the XST module may run in the server to activate the strategy and to communicate one or more routing commands to a TS application monitoring the queued event. The TS server may then correctly route the call based on the extra routine, which may also involve a value served from STS 1416. The value served by STS 1416 may be served to XST 1417 when executing the alternate routing treatment. The TS instance understands the new routine and can communicate that routing command to the switch.

SW 1418 may be distributed in the form of “language transformation modules” to any machine responsible for any routing of communication events. XML-based constructs may be developed for routing based on date and time, parameters of the call, agent skills, customer data, CC statistics, and so on. Moreover, constructs for specifying call treatments, priorities, waiting time, timeouts and the like are possible. In one embodiment, XST may be implemented as an extension of simple media control protocol (SMCP) known to the inventors for communicating call models represented in XML primitives or other low level descriptor languages.

XST may be used in various embodiments in different environments. For example, XST may be used with a simple object application protocol (SOAP) or Xpath transport mechanisms in conjunction with back end data services as well as with Web service defined by Web Service Description Language (WSDL) or Web Service Flow Language (WSFL). It can be integrated into workflow management languages like Business Process Execution Language for Web Services (BPEL4WS) and XML Process Definition Language (XPDL). By tagging the existing scripts with an XST start tag, a predefined routine may be executed. More detail about XST will be presented below.

FIG. 15 is a block diagram illustrating components of SW 1418 according to an embodiment of the present invention. SW 1418 may reside in a server analogous to XST server 1417 described with reference to FIG. 14 above. In this embodiment, XStrategy is used to compliment current interaction routing languages (IRLs) that may be used in current routing systems to route communications events. TS software may be in place, as illustrated here, to monitor the states of events in queue or otherwise registered at any routing point and to communicate with like instances to receive and pass on intelligent routing instructions and routines. A routing point may be a PBX switch, a SPBX switch, a message router or any digital terminal capable of performing some treatment related to or that may effect routing of an event.

SW 1418 includes an XStrategy Language Generator (XSLG) 1501, which is adapted to assemble XST script from primitive XML constructs according to any prevailing rule that might be relevant to an incoming TS request from a routing point. XML constructs are stored in a data storage media and are server by an XML server accessible through an XML server interface 1502.

A TS request will provide details related to the event to be routed and may be generated based on a tag inserted into the existing routing script used at the routing point. In this embodiment, a tag inserted in the script has triggered a TS call to XSLG 1501. The TS request will also identify the correct rule or rule set that may be relevant to the event and/or to any parameters associated with the event. An interface to a rules base (not illustrated in this simple block diagram) may be assumed present in this example.

When SW 1418 processes a request, XSLG may assemble a complete XML script that represents a routing routine or process that may contain one or more target values and, perhaps, one or more treatment assignments. In one embodiment, the XML routines may already be in place for static assignment. In another embodiment, the routines may be dynamically assembled, as is the case here. A routing routine is generated and then transformed into the generic routing language used. In this case the XML strategy is transformed into IRL using extensible Style sheet Language Transformation (XSLT) module 1504. Module 1504 has access to an IRL construct server through an IRL server interface 1503. In this case, the XML constructs and IRL constructs may be matched one for one to aid in generation of a usable IRL script, which contains the XST routine. An IRL generator 1500 provides the corresponding IRL script.

The IRL script, enhanced with the new intelligent routine may be embedded as text into a TS response back to the router. The TS response will contain the complete IRL script and any added routing command or treatment command provided by the XST now expressed as IRL for execution by the router. SW 1418 may have several different language transformation interfaces between it and various routing points depending on the mix of multimedia routing points in use and enhanced, in this case, with an instance of TS.

In one embodiment, the routing may be very simple such as the following example:

  <strategy version=“0.1” name=“Example 1”>  <rule cond=“Date=07/04/96 & (Time > 9:00 & Time < 18:00)”>    <targets vq=“ ”>     <target name=“1234@SF.A” type=“agent”/>    </targets>  </rule> </strategy>

The XST script above defines a strategy that routes the event to target if the interaction arrives on Jul. 4, 1996, between 9:00 am and 6:00 pm. The strategy defines only one target (tag <target>). The target type is “agent” and the target address is 1234@SF.A. Note that this strategy is expressed with one rule (tag <rule>).

The same strategy in IRL may appear as follows:

Date=07/04/96 & (Time>9:00 & Time<18:00)”→Targets[1234@SF.A]

In this embodiment, a routing exception may be based on data and time rules recorded at the time of the incoming event.

A slightly more complex XST routine using only one rule may appear as follows:

<strategy version=“0.1” name=“Example 2”>  <rule cond=“(Day>=Monday & Day<=Friday) & (Time > 9:00 & Time < 18:00)”    timeout=“30s” >   <priority value=“10” />   <treatment type=“Mandatory” name=“Music” time=“15s”   port=“20” />   <targets vq=“ ”>    <target name=“2503” type=“agent” />    <target name=“2504” type=“agent” />    <target name=“2506” type=“agent” />   </targets>  </rule> </strategy>

The above strategy consists of one rule that has the same condition of routing using time and date as the first strategy. However, this strategy defines an attribute “timeout” specifying a time 30 seconds for waiting for a target to become available. If no target becomes available within 30 seconds, the interaction is routed to a default target that is not specified in this strategy. The interaction in the strategy has a priority 10 tag and it will be routed before any interactions in queue having lower priorities. Music from a device defined as source port “20” may be played for 15 seconds while the interaction is queued and waiting for an available target. Three targets of “agent” type are defined in this strategy.

Converted to IRL, the script may appear as follows:

(Day>=Monday & Day<=Friday) & (Time>9:00 & Time<18:00)”→{Music[20]:15} Timeout[30] Priority[10] Targets[””, 2503, 2504, 2506].

More detail regarding the flexibility of XStrategy scripts will be presented later in this specification.

One with skill in the art will recognize that SW 1418 may be distributed in whole or in parts to a variety of nodes including server nodes, routers, CTI processors, message routers, or even on desktop routers without departing from the spirit and scope of the present invention.

FIG. 16 is a block diagram illustrating at least four basic communication center environments that may be enhanced with XStrategy. An XStrategy or XST script 1600 may be adapted for use in different ways in differing environments within a MMCC without departing from the spirit or scope of the present invention. An XSLT server 1601 may be provided and adapted to reside in-between the XST script and one of several targeted service environments. XSLT server 1601 may provide language transformation services so that a router or switch 1602 enhanced for IRL, CCXML and/or VXML may understand and execute XST transformed scripts.

XST scripts may be transformed into script that integrates with WSDL used to create functional Web services 1603. Likewise, XST may be created and used to represent Genesys Interface Server (GIS) routines (known to the inventor), statistics based routing routines, and predictive routing routines represented by a block 1604.

In one embodiment, XStrategy may be used to enhance workflow management that is internal or Web-based and defined by BPEL4WS, in the case of a Web-based service, or in some other markup. In one embodiment, tagging can be used in a routing script to spawn multiple XST processes to run in parallel with the script wherein those processes involve separate resources including routing resources, statistics servers, script servers, and workflow management servers. Many processors support multiple threads running in parallel. Therefore, a linear routing approach may be enhanced to include other processes in order to perform a same amount of work in a shorter period of time.

One with skill in the art will recognize that in creating strategies using XStrategy constructs, tags may be created and embedded in existing markup scripts such as CCXML and VXML whereby those embedded tags may invoke the completed scripts. In one embodiment, a single tag may force a lookup of more than one strategy whereby a specific strategy is selected to start based on criteria used for selecting that available strategy. In still another embodiment, XStrategies are dynamically assembled from the available constructs based on the data related to the actual interaction and one or more rules governing the interaction.

FIG. 17 is a process flow chart illustrating a CCXML telephony script adapted to invoke VXML and SXML according to an embodiment of the present invention. At act 1700, an incoming connection request is received in queue or otherwise registered at a routing point. The event may be an incoming voice event requesting routing to an available target such as a live agent for example.

At act 1702, the routing system initiates an alert that a connection request requires processing. The alert may be generated to a transaction server or other responding system. The alert may be received through state monitoring of a queue or switch or it may be in the form of a notification to a processing entity.

At act 1703, the connection request and any associated data is received by the processing entity. At act 1704, a determination is made to accept or to deny the connection request. If at act 1704, the request is not accepted, the process flow may end at act 1705 and the event may be ignored, dropped, or redirected by default to an automated system for example. If the connection request is accepted then the queuing system is notified and the switching entity establishes a connection at act 1706. In this example the connection may be established via CCXML call control script and the connection is to an automated voice dialog system running VXML.

At the beginning of the script a dialog start tag is executed at act 1707. At this point in the flow a VXML dialog executes at act 1708. The VXML may contain one or more dialogs and may further involve the caller in interaction. The VXML dialog state runs in parallel with the CCXML script and at act 1709, the state of the script is reported as active dialog state or VXML interaction is active.

At act 1710 the VXML dialog has finished and, perhaps as a result of the VXML interaction, an XStrategy script will be called. At act 1711 an XStrategy script is called and like the VXML script may execute in parallel with the running CCXML script. At step 1712, the XSML strategy ensues. At act 1713, the running script state is active for the SXML strategy. In this example, the SXML routine may be an intelligent routing routine that is actually selected or invoked from the VXML routine preceding it in the CCXML script. However, that is not required in order to practice the present invention. The SXML routine may be started from any place in the routing script. Moreover, multiple SXML scripts may be associated to a CCXML or other generic routing script and may be started wherever their tags appear in the script. In one embodiment, SXML routines may be launched from other SXML routines that are started from a generic script like a CCXML script or a VXML script. There are many possibilities.

In one embodiment, the SXML routine may be directed toward finding available resources and causing redirection to those resources from an existing routing point, perhaps a queue. In another embodiment, a SXML routine associated with a routing script may perform some other function like making an adjustment to a workflow process or schedule. Integration of SXML between disparate MMCC processes enables multiple tasks to be started at the time of a transaction resulting from an interaction in process.

At act 1714, the SXML routine has completed and results in a redirect tag that executes at act 1715. The routing entity then redirects the event at act 1716 and at act 1717 the process may terminate if there are no other routing requirements existing, or that may be created as a result of the redirect action.

The strategy start tags represented in the CCXML flow has at least three attributes in its format. For example, the attribute src denotes the character string that identifies the universal resource locator (URL) of the XStrategy (*.sxml) document that is the subject of the start tag. The attribute name is the name of the variable that will receive a session name associated with the launched routine. The attribute target is the name of a variable that will receive the address of a target determined by the launched routine. The strategy start tag only has one attribute “sessionid” that is the session identification generated at the start tag and which is stored by a variable identified in the name attribute of the start tag. The strategy stop tag is actually sent to the running CCXML script by the SXML when it is no longer needed.

In one embodiment if a planned XStrategy document cannot be started, a tag “strategy.notstarted” may be sent to the CCXML script indicating some error in processing. The CCXML flow represented in this example reflects only a very simple architecture. However, much more complex architectures are feasible and practical.

FIG. 18 is a block diagram illustrating keyword options for use in an SXML XStrategy routine. An XStrategy routine 1800 is illustrated and includes at least one *.sxml document 1801. The documentation contains all of the necessary elements to successfully represent and communicate a strategy for routing or workflow. It may be assumed that a condition set for a routing rule may include any one of a number of keywords, which are widely used in other markup like CCXML and VXML for example.

It may be assumed herein that strategy 1800 is a routing strategy by the selection of keyword options that may be used as rule condition attributes. The script or *.sxml document contains a rule having a condition, which may represent any of the following keywords illustrated herein and labeled from top moving in a clockwise direction. The options include automated number identification (ANI); dialed number-identification system (DNIS); caller identification (CallID); connection identification (Connection ID); origination identification (Origination ID); and destination identification (Destination ID).

It is noted herein that CallID is the identification of a call assigned by a switch and connection ID is the identification for an event assigned by a transaction server like TS, which is known the inventor.

The remaining keyword options are date, time, and day, which may be used single or in combination as a single attribute. Used in this way, widely recognized and standard keywords may be used as conditions in routing rules executed within the strategy.

FIG. 19 is a block diagram illustrating optional tags that may be found within XStrategy script according to an embodiment of the present invention. XStrategy tags 1901 may optionally include from top right and moving in a clockwise direction, a variable (var) tag; a treatment tag; a targets tag; a target tag; a strategy tag; a rule tag; a priority tag; an attach tag; and an assign tag.

A var tag enable the script creator to implicitly declare a variable for consideration by the strategy. A treatment tag enables the script creator to specify some treatment such as interactive voice response (IVR), playing of music, or playing an advertisement. The tag targets enables the script creator to specify a set of routing targets or resources. The target tag enables the script creator to specify a single target or resource. The strategy tag enables the script creator to define and package the entire set of tags and elements as an executable document that includes all of the scripted sub-routines and elements thereof.

The rule tag enables the script creator to specify one or more rules used by a strategy. The priority tag enables the script creator to set a priority for an interaction waiting for a target or resource. The attach tag enables the script creator to specify what types of data may be attached to the routine and/or any sub-routines. The assign tag enables the script creator to assign specific values to variables.

One with skill in the art of XML extensions will appreciate that XStrategy, in addition to incorporating new constructs, may also incorporate constructs that are used in other similar languages like CCXML or VXML. Variable, for instance, is a commonly used tag. In typical use some tags are always required while some other tags are optional.

FIG. 20 is an entity relational diagram illustrating tag interrelationships and hierarchy in an XStrategy script 2000 according to an embodiment of the present invention. XStrategy script 2000 includes a strategy tag 2001, which is the parent tag in the routine. Tag 2001 has a name and a version that uniquely identifies it and separates it from other routines. Strategy tag 2001 may be launched from a generic routing script through invocation of a strategystart tag 2011. Strategystart tag 2011 has attributes src, name, and target. Src is a character that identifies the URL of the strategy document to be called. The attribute name, in this case, is the name of the variable that will receive the session name identifying the strategy. The attribute target, in this case, is the name of the target or resource that will be determined by the strategy. It is important to note herein that strategy 2001 may be invoked from a generic script by execution of the strategystart tag. Therefore, strategystart tag 2011 starts strategy 2001 from some generic script in this example.

Strategy 2001 invokes at least one rule, in this case, a rule 2002. Rule 2002 has an attribute condition (cond.), and attribute timeout, and an attribute force. The attribute condition may include one or more keywords as described above. The condition attribute is part of the condition under which the rule applies so it may include any of the previously described keywords related to routing, or it may include other keyword types related to other process types like workflow, or data management operations.

The attribute timeout provides a time limit for an interaction to wait in queue before forced routing or treatment. The attribute force provides a yes or no option in the rule for forcing routing to a specific target based on any condition. If force is set to no there is no forced routing to a specific target, rather the target is selected by other factors in the rule. If set to yes, there may be immediate forced routing to a specific target based on true or false condition.

One rule may contain other rules, which may execute serially or in parallel if there are sub-routines involved. Rule 2002 has child elements, which are the tags described further above. Each tag has its own attributes and some tags also have child elements. A tag labeled assign 2003 has the attributes name, expression (expr) and scope. Assign 2003 works hand in hand with a var tag 2004. That is to say the assign tag assigns a value to a variable tag such as tag 2004.

Name is the variable name, expression indicates the new value of the variable and may be represented as a valid IRL markup, and scope defines the scope of the variable. A single rule may have more than one assign tag. Likewise, one rule may carry more than one variable 2004. Var 2004, like assign 2003 includes the attributes name, expr, and scope defined identically to those same attributes in assign 2003.

Rule 2002 may optionally include a tag labeled herein as a priority tag 2005. Tag 2005 can be used to set a priority in queue for the interaction being routed by the strategy. Priority may be based on any number of static or dynamically discovered criteria including identification, payment history, interaction history, and so on. The priority setting value is generally a number such as from 1-10, for example. Another attribute in the priority tag is increment, which allows for a timed increase in priority. For example, every 60 seconds, a priority value may be incremented by 1. In that case a priority of value=1 will be a priority of value=10 in the span of 9 minutes.

Rule 2002 may optionally include one or more tags attach 2006. Attach tag 2006 is used to attach some data to the interaction routing notification or to the event itself if supported by the media type and platform environment. Tag 2006 has attributes key and value, which cooperate as a key/value (KV) pair for retrieving and attaching data to the interaction.

The SXML sample below illustrates the process of data attach to an interaction.

<strategy version=“0.1” name=“Example 14 <!-- Attaching Data to the Interaction -->”>  <rule cond=“DNIS=5108632549”>   <targets vq=“ ”>    <attach key=“customer_age”     value=“XData[dbserver1,Procedure,Retrieve_Age,param=     account]”/>    <target name=“2283@SF.A” type=“agent”” />   </targets>  </rule> </strategy>

Rule 2003 may optionally include a tag 2007 labeled Targets. Targets tag 2007 defines a set of more than one target such as several agents sharing a queue. Tag 2007 includes the attributes virtual queue (vq), wait, and even. Vq identifies the name and address of the queue the agents are working from. The attribute wait defines a time for waiting in queue, and the attribute even contains one or more statistical values that enable interactions to be evenly distributed among the several targets within the target set. A sample of SXML using a target set may appear as follows:

<strategy version=“0.1” name=“Example 2”>  <rule cond=“(Day>=Monday & Day<=Friday) & (Time > 9:00 &  Time < 18:00)”    timeout=“30s” >   <priority value=“10” />   <treatment type=“Mandatory” name=“Music” time=“15s”   port=“20” />   <targets vq=“ ”>     <target name=“2503” type=“agent” />     <target name=“2504” type=“agent” />     <target name=“2506” type=“agent” />   </targets>  </rule> </strategy>

Targets tag 2007 may have child elements assign, var, priority, attach, and targets. A set of targets 2007 defines more than one target, labeled herein as target tag 2008. Target set 2007 may optionally include one or more than one treatment, illustrated herein as treatment tag 2009. A treatment may include playing music, playing a voice advertisement, or some other type of automated treatment applied during an interaction while the interaction is waiting for a target and so on. There may be two different types of treatments, mandatory treatments and busy treatments. Mandatory treatments are always delivered before an interaction is routed to a final target. A busy treatment occurs during a wait time such as waiting in queue.

Treatment tag 2009 includes attributes type, name, time, and optionally, port. Type identifies the treatment as mandatory or busy. Name specifies the method of treatment such as ring back, silence, or busy treatment. The following sample SXML illustrates application of more than one sequential treatment specifying type, method and time of each treatment.

<strategy version=“0.1” name=“Example 15”> <!-- Using Treatments -->  <rule cond=“date=10/15/96”>   <targets vq=“ ”>    <targets vq=“ ”>     <treatment type=“Busy” name=“RingBack” time=“10s”/>     <treatment type=“Busy” name=“Silence” time=“10s”/>     <treatment type=“Busy” name=“Busy” time=“5s”/>     <target name=“2311” type=“agent” />     <target name=“2309” type=“agent” />    </targets>   </targets>  </rule>

A treatment may optionally include a method of playing music or some other audible presentation such as an advertisement. In this case the attribute port may be included to specify the port or source location of the audible presentation to be played, for example, while the interaction is waiting in queue for availability of a target agent. The following SXML fragment illustrates use of a music treatment.

<strategy version=“0.1” name=“Example 16”> <!-- Using Treatment Music -->  <rule cond=“date=10/15/96”>   <targets vq=“ ”>    <targets vq=“ ” >     <treatment type=“Mandatory” name=“Music” time=“10”     port=“1200”/>     <target name=“2309” type=“agent” />    </targets>   </targets>  </rule> </strategy>

Rule 2002 may have a single target tag rather than a declared set. A target tag 2008 has the attributes name, type, expression, and weight. Tag 2008 specifies a single target. The name attribute specifies the name of the target. The attribute type specifies the type or class of the target. The target type may include, but is not limited to agent (A), agent place (AP), queue (Q), group of agents (GA), group of places (GP), routing point (RP), and skill. The attribute server in target tag 2008 specifies the name of a statistics server. This attribute is used for targets having a skill type associated with them wherein that skill indication may be used in routing consideration (skill-based routing). The attribute expression in tag 2008 specifies the “skill” expression used for skill-based routing. The attribute weight sets a percentage value for routing among several targets.

One with skill in the art of object modeling will recognize that rule 2002 including associated tags and attributes may be constructed in other configurations with relation to child elements and attribute mix and definition without departing from the spirit and scope of the present invention. For example, some attributes are mandatory while other attributes are optionally included. Likewise, new tags and attributes may be provided without departing from the spirit and scope of the present invention. Moreover, the strategy routines of the present invention may be provided with fewer tags and attributes than illustrated herein without departing from the spirit and scope of the present invention.

XStrategy (SXML) enables a programmer to represent routing routines and treatments uniformly across multiple routing systems and platforms by expressing those routines in primitive constructs that may be easily associated to the analogous constructs understood by those routing systems. In this way, one routine may be applied to more than one routing program and may even apply to more than one media type. In an embodiment wherein generic routing protocols are enhanced by creating and implementing SXML routines, the tags, which invoke the new routines are embedded and are understood by the routing scripts already in use. Many different routing platforms may be abstracted to perform routing of events according to a single or similar set of abstract routing rules.

The concept of the present invention is to provide on base language markup that may be used to create or enhance event routing scripts, web service scripts, and workflow management scripts whereby the capabilities of lookup and retrieval of resources and data are transferred to the system performing the actual work.

FIG. 21 is a block diagram 2100 illustrating a relationship between XStrategy (SXML) and other generic languages according to another embodiment of the present invention. Interaction Routing Designer 2103 is a design tool known to the inventor for representing routing information including graphics. An IRD strategy is expressed in the form of IRD XML 2102. That is to say that IRD 2103 may be used to create IRD XML representing an IRD Strategy, or an IRD strategy may be imported into the interface, typically a graphics user interface (GUI) from separately created IRD XML. This is indicated in the example by a double arrow labeled (1).

IRD XML 2102 then is an interchangeable format language for representing all of IRD functionality including workflow control including graphics representation. It should be noted herein that the goals of IRD XML and XStrategy are quite different. XStrategy provides among other things, a natural extension of CCXML and VXML for the purpose of enabling those regimens to capture rich contact center functionality. It provides target and resource lookup procedure capabilities base on interpretation of external data such as data and time, and interaction attributes according to rule. This extra added value enhancement is absent from generic IRD strategies.

In typical practice, an IRD strategy whether created by the designer or incorporated therein from external IRD XML, is transferred into a more abstract interaction routing language (IRL) 2104, which is also known to the inventor. A directional arrow labeled (2) illustrates this action. The IRD XML notation is oriented towards an exchangeable format rather than towards a routing language. For this reason it reflects a graphics structure of an IRD strategy including embedded tags for representing graphical data on a computer screen.

IRL 2104 is then transferred into an internal binary format and subsequently is recorded into a configuration server 2105 as illustrated by a directional arrow labeled (3). At this point router 2106 may access server 2105, read the strategy, and enact the strategy during interaction routing. In one embodiment, IRD XML may simply be transferred directly into IRL but the graphics components are lost tin the transformation. This action is represented in this example by a directional arrow (5)

Use of XSLT script or another language transformation tool enables XStrategy to be transferred directly into IRL, generally with a one-to-one construct equivalence. This option is illustrated in this example by arrow (6). XStrategy 2101 may likewise be transformed directly into a valid subset of IRD XML as is illustrated by the arrow labeled (7).

It may be apparent to a skilled artisan that SXML may be used as a base extension to IRL and has an intelligent enhancement to CCXML/VXML regimens without departing from the spirit and scope of the present invention. SXML routines for intelligent routing may be tagged onto existing less intelligent CCXML routines, for example, by embedding a start tag into the CCXML routine. It may be created as an abstract base language or as an extension to an existing XML-based language without departing from the spirit and scope of the present invention.

In one embodiment, XStrategies are standalone strategies. In another embodiment, they are integrated into existing strategies to enhance those strategies. In still another embodiment, XStrategies may server as abstract base strategies for creating Web services and workflow management routines. In one embodiment, SXML server as added routines to existing CCXML and VXML that would otherwise not be available. One embodiment includes use of transaction server communication to carry XStrategies between systems such that the actual notation in integrated with TS script.

The method and apparatus of the present invention should be afforded the broadest of scope under examination. The spirit and scope of the present invention is limited only by the claims that follow. 

1. A method for applying a common routing strategy to a first router employing a first routing language and to a second router employing a second routing language in a communication center, comprising the steps of: (a) providing a generic server in the communication center, the server comprising a callable routine in an abstract language, the routine comprising a routing strategy needed by the first and by the second router at a point in processing where a common condition occurs; (b) inserting a tag in the script of the first router and in the script of the second router at the point where the common condition is met; and (c) upon encountering the tag by either the first or the second router in trying to route an event, invoking the callable routine by one or more attributes of the tag; (d) translating the abstract language of the callable routine into the routing language of the calling router; and (e) executing the translated routine by the calling router.
 2. The method of claim 1, wherein in step (e), the callable routine comprises an interaction routing rule including the one or more of attributes of condition, timeout, and forced routing.
 3. The method of claim 2, wherein the interaction routing rule may further include one or more sub rules, each having at least one attribute.
 4. The method of claim 1, wherein in step (b), the tag is an XML tag that may be executed by machine interaction to call the callable routine.
 5. The method of claim 1, wherein in act (d), the callable routine is one of a call control extensible markup language routine or a voice extensible markup language routine.
 6. A system providing routing strategy to routers in a communication center, comprising: a generic router comprising a callable routine in an abstract language, the routine providing a routing strategy; a first router having a first script in a first routing language for routing interactions of a first media type, and a tag at a point in the script where the routing strategy is required; and a second router having a second script in a second routing language for routing interactions of a second media type, and a tag at a point in the script where the routing strategy is required; wherein the first and the second router, encountering the tag, calls the generic router for the callable routing, the generic router translates the callable routine into the language of the requesting router, sends the callable routine, and wherein the requesting router executes the callable routine to accomplish the strategy.
 7. The system of claim 6, wherein the callable routine comprises an interaction routing rule including one or more of attributes of condition, timeout, and forced routing.
 8. The system of claim 7, wherein the interaction routing rule may further include one or more sub rules, each having at least one attribute.
 9. The system of claim 6 wherein the tag is an XML tag that may be executed by machine interaction to call the callable routine.
 10. The system of claim 6, wherein the callable routine is one of a call control extensible markup language routine or a voice extensible markup language routine. 